package com.furschina.dao;

import org.springframework.stereotype.Repository;

import cn.wooshai.core.dao.hibernate.GenericHibernateDao;

import com.furschina.model.Topic;

@Repository
public class TopicDao extends GenericHibernateDao<Topic> {

	public Topic findByUrl(String url) {
		return findOne("from Topic where url", true, url);
	}

}
